//
//  DrawerViewController.h
//  LO_MUSIC
//
//  Created by lanou3g on 16/2/24.
//  Copyright © 2016年 杨少锋. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface DrawerViewController : UIViewController

///中间视图控制器
@property (nonatomic,strong) UIViewController *rootVC;
///侧滑栏控制器
@property (nonatomic,strong) UIViewController *leftVC;
///手势
@property (nonatomic,strong) UITapGestureRecognizer *tap;

//设置中间视图控制器

-(void)setRootViewController:(UIViewController *)viewcontroller;

//展示中间视图的方法(关闭抽屉)

-(void)showRootViewController:(UIViewController *)viewcontroller;

//打开抽屉
-(void)showLeftViewController:(UIViewController *)leftViewcontroller;

@end
